package com.my.chapter2;

public class practice7 {
    public static void main(String[] args) {
        System.out.println(StaticTest.i);
        Incrementable.increment();
        System.out.println(StaticTest.i);
    }
}

class StaticTest{
    static int i = 5;
}

class Incrementable{
    static void increment(){
        StaticTest.i++;
    }
}
